<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>资源中心</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <link th:href="@{/res/notice/lib/weui.min.css}" rel="stylesheet"/>
    <link th:href="@{/res/notice/css/jquery-weui.css}" rel="stylesheet"/>
    <link th:href="@{/res/notice/css/common.css}" rel="stylesheet"/>
    <style>
        li {
            list-style: none
        }
    </style>
</head>
<body class="bgline3">
<div class="weui-panel weui-panel_access">
    <div class="weui-panel__hd bold">资源服务平台</div>
    <div class="weui-panel__bd">
        <li th:each="resource : ${resources}">
            <a href="javascript:void(0);" th:onclick="linkThis([[${resource.link}]]);"
               class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd">
                    <img class="weui-media-box__thumb radius50p" th:src="@{/res/notice/img/icon1.jpg}">
                </div>
                <div class="weui-media-box__bd">
                    <h4 class="weui-media-box__title bold gray3 ft16" th:text="${resource.name}"></h4>
                    <p class="weui-media-box__desc mt10 gray3">点击进入 →</p>
                </div>
            </a>
        </li>
    </div>
</div>

<div class="weui-panel weui-panel_access">
    <div class="weui-panel__hd bold">教育信息化管理平台</div>
    <div class="weui-panel__bd">
        <li th:each="manage : ${manages}">
            <a href="javascript:void(0);" th:onclick="linkThis([[${manage.link}]]);"
               class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd">
                    <img class="weui-media-box__thumb radius50p" th:src="@{/res/notice/img/icon2.jpg}">
                </div>
                <div class="weui-media-box__bd">
                    <h4 class="weui-media-box__title bold gray3 ft16" th:text="${manage.name}"></h4>
                    <p class="weui-media-box__desc mt10 gray3">点击进入 →</p>
                </div>
            </a>
        </li>
    </div>
</div>
<script th:inline="javascript">
    function linkThis(url) {
        window.open(url, '_blank').location;
    }
</script>
</body>
</html>
